import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export type Params = {
  diagramSts: string;
  defaultConfig?: string;
};

export type CloseData = {
  success: boolean;
  result: any;
};
export const ChartPropertyWindow = new IpcWindow<Params, CloseData>(WindowName.ChartPropertyWindow);
